package com.pingxx.demo.integration;

import java.lang.annotation.*;
import java.util.concurrent.TimeUnit;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DistributedLock {

    String expression() default "";

    long expire() default 60000L;

    TimeUnit timeUnit() default TimeUnit.SECONDS;
}
